; var dialogHelper = (function ($, window, document, undefined) {
    var defaults = {
        title: "",
		content: "",
		completed: function(){},
		cancle: function(){}
    };
	
	var Error = function(options){
		var opt = $.extend({}, defaults, options || {});
		//标题和内容
		alert(opt.title);
		//绑定按钮事件
/* 		$("#btn").unbind("click").click(function(){
			
			
		}); */
		if(typeof(opt.completed) == "function"){
			
			opt.completed();
		}
		//关闭窗口
	};
	
	return {
		Error: Error
	};
})(jQuery, window, document);